<?php
  if(isset($_GET["id"]) == false)
    DataProvider::ExecuteQuery('index.php?b=5');

  $id = $_GET['id'];
  $sql = "SELECT * FROM tintuc WHERE MaTinTuc = $id";
  $result = DataProvider::ExecuteQuery($sql);
  $row = mysql_fetch_array($result);
?>


<div class="span11">
    <form name="RegisterForm" method="post" action="pages/pExXoaTinTuc.php?act=do&id=<?php echo $row["MaTinTuc"] ?>" id="RegisterForm" class="form-horizontal">
    <div class="head">
        <div class="isw-documents"></div>
        <h1>Xóa Tin có Tiêu Đề "<?php echo $row['TieuDe']; ?>"</h1>
        <div class="clear"></div>
    </div>
    <div class="block-fluid">
        <div class="row-form">

            <div class="span3">Xóa tạm thời hay vĩnh viễn:  </div>
            <div class="span2">
                <select name="opbixoa" id="opbixoa">
                        <option value="">Chọn loại xóa...</option>
                        <option value="1">Xóa tạm</option>
                        <option value="2">Xóa vĩnh viễn</option>
                </select>
            </div>

            <div class="clear"></div>
        </div>


        <div class="row-form">
            &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
            <input type="submit" name="btnSubmit" value="Xóa" id="btnSubmit" class="btn btn-primary" >

            <input class="btn btn-danger" onclick="location = 'index.php?b=2';" type="button" value="Quay Lại">
        </div>

    </div>
    </form>
</div>